/*
* @Author: Flora
* @Date:   2019-01-16 10:17:40
* @Last Modified by:   Flora
* @Last Modified time: 2019-01-17 10:59:56
*/
var _mm = require('util/mm.js');

var _account = {
	// 获取账务内容
	getAccountList:function(resolve, reject){
		_mm.request({
			url : _mm.getServerUrl('/list_all_order.do'),
			success : resolve,
			error : reject
		});
	},
	// 下订单
	createOrder : function(resolve,reject){
		_mm.request({
			url : _mm.getServerUrl('/create_order.do'),
			success : resolve,
			error : reject
		});
	}
};

module.exports = _account;